package net.lab1024.sa.admin.module.business.erp.bas.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.erp.bas.domain.entity.BatchordEntity;
import net.lab1024.sa.admin.module.business.erp.bas.domain.form.BatchordQueryForm;
import net.lab1024.sa.admin.module.business.erp.bas.domain.vo.BatchordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 请购单 Dao
 *
 * @Author AKITA
 * @Date 2025-08-02 14:56:12
 * @Copyright AKITA
 */

@Mapper
public interface BatchordDao extends BaseMapper<BatchordEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<BatchordVO> queryPage(Page page, @Param("queryForm") BatchordQueryForm queryForm);

    Long selectMaxId(@Param("year") String year, @Param("month") String month, @Param("day") String day);

}
